﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace MQTTServer.Model.UDPEvents
{
   public  class ClientDataEventArgs
    {
        private ClientPayloadDataModel ClientData;
        public ClientDataEventArgs(string strJson)
        {
            StrJson = strJson;
        }
        /// <summary>
        /// 服务器连接事件参数
        /// </summary>
        /// <param name="Point"></param>
        /// <param name="message"></param>
        public ClientDataEventArgs(ClientPayloadDataModel ClientData)
        {
            this.ClientData = ClientData;
        }
        /// <summary>
        /// 获得当前Session对象
        /// </summary>
        public ClientPayloadDataModel ClientPayloadDataModel
        {
            get { return ClientData; }
        }
       public string StrJson
        {
            get;
            set;
        }

    }
}
